package com.ge.myoned.service;

import com.ge.myoned.dto.BookDto;
import com.ge.myoned.entity.Book;
import com.ge.mytestparent.dto.Result;

import java.util.List;

/**
 * @Author geqingxiang
 * @PackageName myProject
 * @Package com.ge.oned.service
 * @Date 2023/8/4 9:41
 * @Version 1.0
 */
public interface BookService {

    Result<?> init();

    Result<List<Book>> singleTitle(String title, Integer page, Integer pageSize);

    Result<List<Book>> singleMatch(String match, String matchValue, Integer page, Integer pageSize);

    Result<?> save(BookDto bookDto);

    Result<?> delAll();

}
